﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="XamlaApp.Views.UIViews.MainStageView" mc:Ignorable="d">
	<Grid>
		<VisualStateManager.VisualStateGroups>
			<VisualStateGroup x:Name="VisualStateGroup">
				<VisualState x:Name="Normal"/>
				<VisualState x:Name="SpecialMode">
					<Storyboard>
						<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="gridSpecialMode" Storyboard.TargetProperty="(UIElement.Visibility)">
							<DiscreteObjectKeyFrame KeyTime="00:00:00">
								<DiscreteObjectKeyFrame.Value>
									<Visibility>Visible</Visibility>
								</DiscreteObjectKeyFrame.Value>
							</DiscreteObjectKeyFrame>
						</ObjectAnimationUsingKeyFrames>
					</Storyboard>
				</VisualState>
			</VisualStateGroup>
		</VisualStateManager.VisualStateGroups>
	    <ContentPresenter Content="{Binding StageView}"/>
		<Grid x:Name="gridSpecialMode" Visibility="Collapsed">
			<Grid.RowDefinitions>
				<RowDefinition Height="Auto"/>
				<RowDefinition Height="0.898*"/>
			</Grid.RowDefinitions>
			<Border BorderBrush="Red" BorderThickness="0,0,2,2" HorizontalAlignment="Left" CornerRadius="0,0,6,0" Background="#FF262626" Padding="5,0,0,0">
				<StackPanel Height="21" Margin="0,0,30,0" VerticalAlignment="Top" Orientation="Horizontal" d:LayoutOverrides="Width">
					<Button Content="X"/>
					<TextBlock VerticalAlignment="Center" Text="TextBlock" TextWrapping="Wrap" Margin="5,0,0,0" Foreground="White"/>
				</StackPanel>
			</Border>
			<Border Grid.RowSpan="2" BorderBrush="Red" BorderThickness="2"/>
		</Grid>
	</Grid>
</UserControl>
